Skip to content

Get a credential

Request

Retrieves one of the organization's API credentials by its client id, with the fields the list returns. The response holds no client secret. Returns 404 when the organization has no credential with that client id.

Security
oauth2(Required scopes: credentials:view)
Path
clientIdstringrequired
curl -i -X GET \
  'https://docs.talli.ai/_mock/referencev3/swagger/v3/distribution-manager/credentials/{clientId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
clientIdstring
namestring
scopesPresetstring(CredentialScopesPreset)
Enum:"FullAccess""ReadOnly"
scopesArray of strings
createdOnstring, (date-time)
updatedOnstring, (date-time)
secretRotatedOnstring or null, (date-time)
Response
{ "clientId": "string", "name": "string", "scopesPreset": "FullAccess", "scopes": [ "string" ], "createdOn": "2019-08-24T14:15:22Z", "updatedOn": "2019-08-24T14:15:22Z", "secretRotatedOn": "2019-08-24T14:15:22Z" }